package com.dongdongqiang.domain.sys;

import com.dongdongqiang.common.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;
import java.math.BigDecimal;


/**
* SysUserRole 实体类
* by ZZB 2017-09-15 21:22:40
*/
@Table(name = "sys_user_role")
public class SysUserRole extends BaseEntity {
    @Column(name = "user_id")
    private String userId;
    @Column(name = "role_id")
    private String roleId;

    /*----------------------get set 方法----------------------*/
    public String getUserId() {return userId;}
    public void setUserId(String userId){this.userId = userId == null ? null : userId.trim();}
    public String getRoleId() {return roleId;}
    public void setRoleId(String roleId){this.roleId = roleId == null ? null : roleId.trim();}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysUserRole{" +
        "userId='" + getUserId() + '\'' + ',' + 
        "roleId='" + getRoleId() + '\'' + 
        '}';
    }
}
